<form class="form-horizontal" single-student>
	<div class="form-group" ng-show="search.enable">
		<label class="col-md-2 control-label">学生</label>
		<div class="col-md-10 open">
			<input type="text" ng-change="ctrl.searchStudent(search.name,search)" ng-model="search.name" class="form-control"
				placeholder="按姓名/学号模糊搜索">
			<ul class="dropdown-menu" ng-show="search.students.content.length>0">
				<li ng-repeat="t in search.students.content">
					<a href="javascript:;" ng-click="search.user=t;result.user.id=t.id;search.students=null;">({{t.uid}}){{t.name}}</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">姓名</label>
		<div class="col-md-4">
			<input type="text" ng-model="search.user.name" class="form-control" disabled="disabled">

		</div>
		<label class="col-md-2 control-label">性别</label>
		<div class="col-md-4">
			<input type="text" class="form-control" ng-model="result.sexString" disabled="disabled">
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">学生类别</label>
		<div class="col-md-4">
			<input type="text" class="form-control" disabled="disabled" value="本科">
		</div>
		<label class="col-md-2 control-label">年级</label>
		<div class="col-md-4">
			<input type="text" class="form-control" ng-model="search.user.grade" disabled="disabled" value="2015">
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">院系</label>
		<div class="col-md-4">
			<input type="text" class="form-control" disabled="disabled" ng-model="search.user.department.name">
		</div>
		<label class="col-md-2 control-label">专业</label>
		<div class="col-md-4">
			<input type="text" class="form-control" disabled="disabled" ng-model="search.user.major.name">
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">校区</label>
		<div class="col-md-4">
			<select class="form-control" ng-model="result.xq" ng-disabled="!editable">
				<option>仙林校区</option>
				<option>鼓楼校区</option>
			</select>
		</div>
		<label class="col-md-2 control-label">联系电话</label>
		<div class="col-md-4">
			<input type="text" ng-model="result.phone" class="form-control" ng-disabled="!editable">
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">班级</label>
		<div class="col-md-4">
			<input class="form-control" disabled="disabled" ng-model="result.classInfo.bjName" ng-if="$user.type!=2||!editable">
			<select ng-if="$user.type==2&&editable" class="form-control" ng-options="m.id as m.bjName for m in classInfoList "
				ng-model="result.classInfo.id">
			</select>
		</div>
		<label class="col-md-2 control-label">团支书</label>
		<div class="col-md-4">
			<select class="form-control" ng-model="result.sfwtzs" ng-disabled="$user.type!=2||!editable">
				<option value="1">是</option>
				<option value="0">否</option>
			</select>
		</div>
	</div>
	<div class="form-group" ng-if="$user.type>=2">
		<label class="col-md-2 control-label">备注</label>
		<div class="col-md-10">
			<input type="text" class="form-control" ng-model="result.bz" ng-disabled="$user.type!=2||!editable">
		</div>
	</div>
	<div class="form-group">
		<label class="col-md-2 control-label">状态</label>
		<div class="col-md-4">
			<select class="form-control" ng-model="result.status" ng-disabled="$user.type!=2||!editable">
				<option value="0">正常学习</option>
				<option value="1">保留成绩</option>
				<option value="2">退出学习</option>
			</select>
		</div>
	</div>
</form>